

balanceColumns = function () {
	container = $('column-container');
	Element.extend(container);
	container.cleanWhitespace();
	finalHeight = 200;
	for (i =0; i < container.childNodes.length;i++) {
		column = container.childNodes.item(i);
		if (column.offsetHeight > finalHeight) {
			finalHeight = column.offsetHeight;
		}
	}
	for (i =0; i < container.childNodes.length;i++) {
		column = container.childNodes.item(i);
		column.style.height = finalHeight + 'px';
	}
}

document.observe('dom:loaded', function () {
	balanceColumns();
});
